﻿@{
    Layout = null;
}
@model  demo.Entity.Users
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>注册</title>
    <link href="~/Content/Manage/style.css" rel="stylesheet" />
    <link href="~/Pluging/artdialog/ui-dialog.css" rel="stylesheet" />
</head>
    <body>

        <div class="register-container">
            <h1>注册</h1>

            <div class="connect">
                <p>遇见你是我的小幸运</p>
            </div>

            <form action="@Url.Action("DoRegister")" method="post" id="registerForm">
                <div>
                    @Html.TextBoxFor(m=>m.Account,new{@class="username" ,placeholder="您的帐号", autocomplete="off"})                   
                </div>
                <div>
                    @Html.TextBoxFor(m=>m.Name,new{@class="username", placeholder="您的真实姓名", autocomplete="off"})
                </div>
                <div>
                    @Html.PasswordFor(m=>m.Password,new{@class="password", placeholder="输入密码", oncontextmenu="return false" ,onpaste="return false"})
                </div>
                <div>
                    <input type="password" name="confirm_password" class="confirm_password" placeholder="再次输入密码" oncontextmenu="return false" onpaste="return false" />
                </div>
                <div>
                    @Html.TextBoxFor(m => m.MobilePhone, new { @class = "MobilePhone", placeholder = "输入手机号码", autocomplete = "off" })
                </div>
                <div>
                    @Html.TextBoxFor(m=>m.Email,new{@class="email", placeholder="输入邮箱地址", oncontextmenu="return false", onpaste="return false"})
                </div>

                <button id="submit" type="submit">注 册</button>
            </form>
            <a href="@Url.Action("Index","Login")">
                <button type="button" class="register-tis">已经有账号？</button>
            </a>

        </div>


        <script src="~/Scripts/Manage/jquery.min.js"></script>
        <script src="~/Pluging/artdialog/dialog-min.js"></script>
        <script src="~/Areas/Manage/Scripts/Register.js"></script>
        <!--背景图片自动更换-->
        <script src="~/Scripts/Manage/supersized.3.2.7.min.js"></script>
        <script src="~/Scripts/Manage/supersized-init.js"></script>
        <!--表单验证-->
        <script src="~/Scripts/jquery.validate.min.js"></script>
        <script src="~/Scripts/Manage/common.js"></script>
    </body>
</html>


